package com.zzx.boot.entity.vo;

import com.zzx.boot.entity.table.Post;
import com.zzx.boot.entity.table.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author tan
 * @version 1.0
 * @date 2023/7/9 14:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostVo {

    private String id;
    private UserVo user;
    private String title;
    private String titlepic;
    private String content;
    private Integer sharenum;// 分享次数
    private String path;// 地址
    private Integer type;//0 图文 1分享
    private String createTime;
    private ShareVo share;//分享的文章id
    private List<String> images;
    private SupportVo support;
    private Integer isopen;//1开放 0仅自己可见

}
